import 'package:dio/dio.dart';

class ReqShop {
  Dio _dio;

  ReqShop(this._dio);

  Future<Response> goodsList({
    String orderBy = 'ordersDown',
    int page = 1,
    int pageSize = 3,
    int status = 0,
  }) {
    return _dio.post('/shop/goods/list', queryParameters: {
      "orderBy": orderBy,
      "page": page,
      "pageSize": pageSize,
      "status": status,
    });
  }
}
